﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="true" CodeFile="CIB003.aspx.cs" Inherits="View_CIB_CIB003" %>
<%@ Register src="../../Control/btnPrevious.ascx" tagname="btn" tagprefix="uc1" %>
<%@ Register src="../../Control/complexListBox.ascx" tagname="complexListBox" tagprefix="uc1" %>
<%@ Register src="../../Control/ddlGVPageSizeSelect.ascx" tagname="ddlGVPageSizeSelect" tagprefix="uc1" %>
<%@ Register src="../../Control/optGOVAccount.ascx" tagname="optGOVAccount" tagprefix="uc2" %> 
<%@ Register src="../../Control/ucSeason.ascx" tagname="ucSeason" tagprefix="uc1" %> 

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <link rel="stylesheet" href="../../CSS/ui-lightness/jquery-ui-1.8.custom.css"  type="text/css" />
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <script type="text/javascript">
     $(function() {
         $("#radio").buttonset();
         $("input:radio").bind("click", radioClicks);

     });

     function radioClicks() {
         var rdo = $(this).val();
         if (rdo == "rdoDateSeason1") {
             $("#month").show();
             $("#season").hide();

         }
         if (rdo == "rdoDateSeason2") {
             $("#month").hide();
             $("#season").show();

         }
     }
    
	</script>
	
	
    <div class="buttonOnHead_class">
        <asp:Button ID="btn_Execute" runat="server" Text = "兩個月明細資料"  class="btn" OnClick="btn_Execute_Click" />
        <asp:Button ID="btn_Execute2" runat="server" Text = "By客群明細含合計數"  ToolTip="單一列顯示雙月份資料" class="btn" OnClick="btn_Execute_Click" />
        <asp:Button ID="btn_Execute3" runat="server" Text = "By客群每月彙總趨勢表"   class="btn" OnClick="btn_Execute_Click" />
    </div>
    <div class="criteria_class">
        <div id="radio" >
    	    <asp:RadioButton ID="rdoDateSeason1" runat="server" GroupName="dateSeason" Text="月份"  Checked="true" CssClass="rdoClass"  />
	        <asp:RadioButton ID="rdoDateSeason2" runat="server" GroupName="dateSeason" Text="季"    CssClass="rdoClass" />	                    
	    </div>
        <div id="month" >
            <uc1:complexListBox ID="CLB_YYYYMM1" runat="server" Caption="開始月份" SetSelectionMode="Single" ShowCheckBox="false" />
            <uc1:complexListBox ID="CLB_YYYYMM2" runat="server" Caption="結束月份" SetSelectionMode="Single" ShowCheckBox="false" />       
        </div>
        <div id="season" style="display:none;">
            <uc1:ucSeason ID="CLB_Season1" runat="server" Caption="開始季" />
            <uc1:ucSeason ID="CLB_Season2" runat="server" Caption="結束季" />
        </div>
        <uc1:complexlistbox ID="CLB_Cur" runat="server" Caption="幣別" 
            SetSelectionMode="Single" />
        <uc1:complexlistbox ID="CLB_會計科目" runat="server"  Caption="會計科目" SetSelectionMode="Multiple" 
                ShoudGroupBy ="false" />
        <uc1:complexListBox ID="CLB_利率調整型態" runat="server" Caption="利率調整型態" SetSelectionMode="Multiple" />                    
        <uc2:optGOVAccount ID="chk_公庫" runat="server" Caption="公庫" />        
        <div class="complexListBox">
            <fieldset>
                <legend><asp:Label ID="Label1" Text="均額大於多少億" runat="server"></asp:Label></legend>
                <asp:CheckBox ID="chkMoney" runat="server" Text="以億為條件"  Checked="false" />
                <asp:TextBox ID="txtThanMoney" runat="server" ToolTip="預設為1億"></asp:TextBox>
            </fieldset>                           
        </div>
        <div  class="complexListBox">
            <fieldset>
                <legend><asp:Label ID="Label2" Text="加減碼" runat="server"></asp:Label></legend>
                <asp:DropDownList ID="drpSign" runat="server">
                    <asp:ListItem Text="全部" Value="0" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="大於零" Value="1" ></asp:ListItem>
                    <asp:ListItem Text="小於等於零" Value="2"></asp:ListItem>
                </asp:DropDownList>
            </fieldset>     
        </div>
        <uc1:complexlistbox ID="CLB_RM_GROUP" runat="server"  Caption="客群" SetSelectionMode="Multiple" 
                ShoudGroupBy ="false" />
        <uc1:ddlgvpagesizeselect ID="ddlGVPageSizeSelect1" runat="server" />
    </div>

<script type="text/javascript">
    // $(".CLB_Label").css({ "visibility": "visible" });
</script>    
</asp:Content>

